/**
 * “商品管理”相关接口
 */
import request from '@/utils/request'

export default {

  //listInfo.vue start
  getGoodsDataList(){
    const data = {
    }
    return request({
      url: 'shopGoods/data/list',
      method: 'post',
      data
    })
  },
  //listInfo.vue end

  //addGoods.vue start
  saveGoods(goodInfo, imgInfos){
    const data = goodInfo
    data.imgInfos = imgInfos;
    return request({
      url: 'shopGoods/addInfo',
      method: 'post',
      data
    })
  }
  //addGoods.vue end
}
